<!--商机任务单列表-->
<template>
  <div class="bus-oppo-task-list">
    <DicTable
        stripe
        highlight-current-row
        highlight-hover-row
        max-height="600"
        ref="COtable"
        border
        header-row-class-name="header-row-class"
        row-class-name="ne-row-class"
        :columnData="COtbs.tableColumns"
        :tableData="COtbs.tableData"
        :loading="COtbs.tableLoading"
        :currentPage="COtbs.tablePage.page"
        :pageSize="COtbs.tablePage.pageSize"
        :totalResult="COtbs.tablePage.totalResult"
        :pager="true"
        @on-page-change="handlePageChange"
    >
      <template #operation="{ row }">
        <a @click="" class="blue ne-scheme-type">受理</a>
        <a @click="" class="blue ne-scheme-type">退回</a>
      </template>
    </DicTable>
  </div>
</template>
<script>
import DicTable from "@/components/public/DicTable";
export default {
  name: "BusOppoTaskList",
  data() {
    return {
      dialogVisible:false,
      COtbs:{
        tableColumns: [
          { field: "regionName", title: '任务单编号', fixed:'left'},
          { slotName: "operation", title: "操作", fixed:'left'},
          { field: "regionName2", title: "客户名称"},
          { field: "custName", title: "商机ID"},
          { field: "custControlLevel", title: "商机名称"},
          { field: "custAddr", title: "销售品名称"},
          { field: "custManagerNameA", title: "需求单类型"},
          { field: "contactName", title: "业务类型"},
          { field: "contactMobilePhone", title: "要求完成日期"},
          { field: "operation2", title: "合同名称"},
          { field: "operation3", title: "商机发起人"}
        ],
        tableData:  [
        ],
        tableLoading: false,
        tablePage: {
          currentPage: 1,
          pageSize: 10,
          totalResult: 0,
        },
      }
    }
  },
  props: {},
  mounted() {

  },
  created() {

  },
  components: {DicTable},
  methods: {
    handlePageChange({ currentPage, pageSize }) {
      this.COtbs.tablePage.currentPage = currentPage;
      this.COtbs.tablePage.pageSize = pageSize;
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
